package com.conceal.client.dao;

import com.conceal.client.bean.ConcealWxSession;
import java.util.Map;



public interface ConcealWxSessionMapper {
	
    int deleteByPrimaryKey(String sid);

    int insert(ConcealWxSession record);

    int insertSelective(ConcealWxSession record);

    ConcealWxSession selectByPrimaryKey(String sid);

    int updateByPrimaryKeySelective(ConcealWxSession record);

    int updateByPrimaryKey(ConcealWxSession record);

    /**
     * 验证微信会话是否失效
     */
    int validateSession(Map<String, Object> map);

    /**
     * 从会话表中获取openId
     * @param map1
     * @return
     */
    String getOpenId(Map<String, Object> map1);
}